<template>
  <div>
    <IFrame :src="src" />
  </div>
</template>

<script setup name="flowClassify">
const src = ref('')

onMounted(() => {
  // 判断当前运行环境，便于开发调试
  const isDev = import.meta.env.VITE_APP_ENV === 'development'
  // 线上
  src.value = isDev
    ? 'http://localhost:8081/#/flowable/flowClassify'
    : window.location.origin + '/api/flowable/index.html#/flowable/flowClassify'
})
</script>
